﻿using Microsoft.AspNetCore.Mvc.RazorPages;
using Stu_sys.Entity;
using System.ComponentModel.DataAnnotations;

namespace Stu_sys.Models
{
    public class StudentViewModel
    {
        [Display(Name =("学生id"))]
        public int StudentId { get; set; }
        [Display(Name = ("姓名"))]
        public string? StudentName { get; set; }
        [Display(Name = ("学号"))]
        public string? StudentNum { get; set; }
        //性别（男:1,女:2）
        [Display(Name = ("性别"))]
        public int Sex { get; set; }

        [Display(Name = ("班级"))]
        public string? ClassName { get; set; }
        [Display(Name = ("年级"))]
        public string? GradeName { get; set; }
        [Display(Name = ("专业"))]
        public string? DepName { get; set; }

        [Display(Name = ("寝室"))]
        public string? BedRoom { get; set; }
        [Display(Name = ("身份证号"))]
        public string? IDNumber { get; set; }
        [Display(Name = ("出生日期"))]
        public DateTime Birthday { get; set; }
        [Display(Name = ("民族"))]
        public int Nation { get; set; }
        //政治面貌
        [Display(Name = ("政治面貌"))]
        public string? Political { get; set; }
        //父亲姓名
        [Display(Name = ("父亲姓名"))]
        public string? FatherName { get; set; }
        //父亲电话
        [Display(Name = ("父亲电话"))]
        public string? FatherPhone { get; set; }
        //母亲姓名
        [Display(Name = ("母亲姓名"))]
        public string? MotherName { get; set; }
        //母亲电话
        [Display(Name = ("母亲电话"))]
        public string? MotherPhone { get; set; }
        //住址
        [Display(Name = ("住址"))]
        public string? Address { get; set; }

    }
}